package stegosaur.volume;

import java.io.*;

/**
 * <p>
 *  TODO document me
 * </p>
 *
 * @see stegosaur.Volume
 * @author gndn.k5
 * @since Stegosaur 1.0
 */
public final class Layer
{
  private Layer parentLayer;
  private String name;
  private Volume volume;
  private String passphrase;
  
  /** TODO **/
  Layer(Volume volume, String name, String passphrase)
  {
    this.volume = volume;
    this.name = name;
    this.passphrase = passphrase;
  }
    
  public Layer addLayer(String name, String passphrase)
  {
    // TODO
    return null;
  }
  
  public void save() throws IOException
  {
    volume.save();
  }
}
